<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>登录</title>
  <style>
    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background-color: #f0f8ff; /* 蓝白色主题 */
      text-align: center;
      padding: 20px;
    }

    h2 {
      color: #4169e1; /* 深蓝色 */
    }

    #loginForm {
      width: 300px;
      margin: 20px auto;
      padding: 20px;
      background-color: #fff;
      border-radius: 5px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }

    .login-input {
      width: 100%;
      padding: 10px;
      margin-bottom: 10px;
      box-sizing: border-box;
    }

    .login-button {
      width: 100%;
      padding: 10px;
      background-color: #4169e1; /* 深蓝色 */
      color: #fff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .login-button:hover {
      background-color: #1e90ff; /* 亮蓝色 */
    }
  </style>
</head>
<body>

<h2>登录</h2>

<!-- 登录表单 -->
<div id="loginForm">
  <form action="login.php" method="post">
    <input class="login-input" type="text" name="username" placeholder="用户名" required>
    <input class="login-input" type="password" name="password" placeholder="密码" required>
    <button class="login-button" type="submit">登录</button>
  </form>
</div>

</body>
</html>